package com.ruoyi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName t_log
 */
@TableName(value ="t_log")
@Data
public class Log implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private Integer couponId;

    /**
     *
     */
    private Integer userId;

    /**
     *
     */
    private String useStatus;

    /**
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private Date useTime;

    /**
     *
     */
    private Long orderId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
